﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CartSummary.ascx.cs" Inherits="CartSummary" %>
<link rel="stylesheet" type="text/css" href="../Styles/CartSummary.css" />
<table border="0" cellpadding="0" cellspacing="1" width="200">
    <tr>
        <td class="CartSummary">
            <h2>Ваша корзина:</h2>
            <b>
                <asp:Label ID="cartSummaryLabel" runat="server" /></b>
            <asp:HyperLink ID="viewCartLink" runat="server" NavigateUrl='~/Pages/ShoppingCart.aspx'
                CssClass="CartLink" Text="(подробнее...)" />
            <asp:DataList ID="list" runat="server">
                <ItemTemplate>
                    <%# Eval("amount") %>
                    x
                    <%# Eval("name_p") %>
                </ItemTemplate>
            </asp:DataList>
            <%--<img src="Images/line.gif" border="0" width="99%" height="1" />--%>
            <hr />
            Сумма: <span class="ProductPrice">
                <asp:Label ID="totalAmountLabel" runat="server" />
            </span>
        </td>
    </tr>
</table>
